<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            width: 80px; 
            border-radius: 50%;
            transition: all .5s;
        }
        .x:hover {
            transform: rotateX(360deg);
        }
        .y:hover {
            transform: rotateY(360deg);
        }
        .z:hover {
            transform: rotateZ(360deg);
        }

    </style>
</head>
<body>
    <div>
        <img src="./img/cat.jpg" alt="" class="x">
        <img src="./img/cat.jpg" alt="" class="y">
        <img src="./img/cat.jpg" alt="" class="z">
    </div>
</body>
</html>